import request from '@/utils/request'

// 查询邮件列表
export function emailList(query) {
  return request({
    url: '/fkmalls-message/sendLog/list',
    method: 'POST',
    data: query
  })
}


export function getInfo(id) {
  return request({
    url: '/fkmalls-message/sendLog/'+ id,
    method: 'get',
  })
}


// 重发
export function retry(id) {
  return request({
    url: '/fkmalls-message/sendLog/retry/' + id,
    method: 'POST'
  })
}